#include"plorg.h"
#include<iostream>
#include<cstring>

Plorg::Plorg()
{
    strcpy(name,"Plorga");
    CI = 50;
}

Plorg::Plorg(const char* na,int C)
{
    strcpy(name,na);
    CI = C;
}

void Plorg::change()
{
    int other;
    std::cout << "Please enter a num to chage CI: " << std::endl;
    std::cin >> other;
    CI = other;
}

void Plorg::show() const
{
    std::cout << "The plorg's name is " << name << " and CI is " << CI << std::endl;
}